#ifndef __USERPROG_SYSCALL_INIT_H
#define __USERPROG_SYSCALL_INIT_H
#include "global.h"
#define syscall_nr 32
typedef void *syscall;  //syscall为空指针类型
extern syscall syscall_table[syscall_nr];
uint32_t sys_getpid(void);
void sys_putchar(char char_asci);
void syscall_init(void);
#endif